//托辅机构的老师 集中营
//let host = "organization-teacher.52carlife.com/org/teacher"
let host = '192.168.1.173:8580/org/teacher/'
let imgUpload = "upload.52carlife.com/upload/WeChat/image"
let config = {
  // 通用 1.获取照片对应的url
  getImgUrl: `https://${imgUpload}/`,
  // 登陆 3.修改密码 4.忘记密码
  loginUrl: `https://${host}/login`,
  smsUrl: `https://${host}/getLoginValidCode`,
  getUpdatePasswordUrl:`https://${host}/updatePassword`,
  // 我的 1.获取学生列表  2.获取某个学生的作业 3.获取学生自助完成作业情况和老师批改情况
  getStudentHomeworkStatusListUrl: `https://${host}/homework/getStudentHomeworkStatusList`,
  getStudentHomeworkByIdUrl: `https://${host}/homework/getStudentHomeworkById`,
  getStudentHomeworkCompleteByTypeUrl: `https://${host}/homework/getStudentHomeworkCompleteByType`,
  //生活情况  2.增加吃饭记录 3.获取学生列表
  addStudentEatRecordUrl: `https://${host}/eatAndSleep/addStudentEatRecord`,
  getStudentEatListUrl: `https://${host}/eatAndSleep/getStudentEatList`,

  addStudentSleepRecordUrl: `https://${host}/eatAndSleep/addStudentSleepRecord`,
  getStudentSleepListUrl: `https://${host}/eatAndSleep/getStudentSleepList`,

  // 人脸签到 1.获取未签到和已签到列表 2.教师手动签到 3.根据班级获取所有的午托班级分组信息 4.获取识别列表
  getStudentListByClassIdUrl: `http://${host}/faceApi/getStudentListByClassId`,
  addSignInRecordByTeacherUrl: `http://${host}/faceApi/addSignInRecordByTeacher`,
  getSearchTaskByGroupUrl: `http://${host}/faceApi/getSearchTaskByGroup`,
  // 上传相片识别接口
  addSearchTaskByUrl: `https://${host}/faceApi/addSearchTaskByUrl`,
  // 学习情况 1.查、获取班级列表 2.查、获取学生列表ByClassID 3.查、学生详情 4.增、添加作业科目 5.增、科目作业的完成 6.查、老师添加的作业 7.删、科目
  // 8.查、总数比 9.增、增加所有科目的完成
  getCLassList: `http://${host}homework/getClassByTeacherId`,
  getStudentList: `http://${host}homework/getStudentHomeworkById`,
  addWorkSubject: `http://${host}/homework/addHomeworkByTeacher`,
  addCompleteSubject: `http://${host}/homework/updateHomeworkTypeByTeacher`,
  getHomeworkById: `http://${host}/homework/getHomeworkById`,
  deleteHomeworkByTeacher: `http://${host}/homework/deleteHomeworkByTeacher`,
  getAcceptTotal: `http://${host}/homework/getAcceptTotal`,
  addSubjectComplete:`http://${host}/homework/updateAllHomeworkByTeacher`,
  // 扫码签到
  addSignInRecordByQrCode: `https://${host}/faceApi/addSignInRecordByQrCode`,
}
module.exports = config
